package com.demo.model;

public class LocationInfo{
    private String changeBy;
    private boolean isGpsOK;
    private boolean isNetOK;

    private double latitude;
    private double longitude;
    private int altitude;
    private int bearing;
    private double accracy;

    private String country;
    private String region;
    private String city;
    private String street;
    
    public LocationInfo(){
    	this.setAltitude(0);
		this.setBearing(0);
		
		this.setChangeBy("");
		this.setLatitude(0.0);
		this.setLongitude(0.0);
		this.setAccracy(0.0);
		
		this.setCountry("");
		this.setRegion("");
		this.setCity("");
		this.setStreet("");
		
		this.setIsGpsOk(false);
		this.setIsNetOk(false);
    }
    
	public void setChangeBy(String changeBy){
		this.changeBy = changeBy;
	}
	public void setLatitude(double latitude){
		this.latitude = latitude;
	}
	public void setLongitude(double logitude){
		this.longitude = logitude;
	}
	public void setAltitude(int altitude){
		this.altitude = altitude;
	}
	public void setBearing(int bearing){
		this.bearing = bearing;
	}
	public void setAccracy(double accracy){
		this.accracy = accracy;
	}
	public void setCountry(String country){
		this.country = country;
	}
	public void setRegion(String region){
		this.region = region;
	}
	public void setCity(String city){
		this.city = city;
	}
	public void setStreet(String street){
		this.street = street;
	}
	
	public String getChangeBy(){
		return this.changeBy;
	}
	public double getLatitude(){
		return this.latitude;
	}
	public double getLongitude(){
		return this.longitude;
	}
	public int getAltitude(){
		return this.altitude;
	}
	public int getBearing(){
		return this.bearing;
	}
	public double getAccracy(){
		return this.accracy;
	}
	public String getCountry(){
		return this.country;
	}
	public String getRegion(){
		return this.region;
	}
	public String getCity(){
		return this.city;
	}
	public String getStreet(){
		return this.street;
	}
	
	public void setIsGpsOk(boolean isGpsOk){
		this.isGpsOK = isGpsOk;
	}
	public void setIsNetOk(boolean isNetOk){
		this.isNetOK = isNetOk;
	}
	
	public boolean getIsGpsOk(){
		return this.isGpsOK;
	}
	public boolean getIsNetOk(){
		return this.isNetOK;
	}
}
